package com.muyu.system.domain;


import com.muyu.common.core.annotation.Excel;
import com.muyu.common.core.web.domain.BaseEntity;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 安全日志
对象 danmo_security_logs
 * 
 * @author yangle
 * @date 2025-03-08
 */
@AllArgsConstructor
@Data
@NoArgsConstructor
public class DanmoSecurityLogs extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键id */
    private Long id;

    /** 用户id */
    @Excel(name = "用户id")
    private Long userId;

    /** 操作类型 */
    @Excel(name = "操作类型")
    private String action;

    /** 表名 */
    @Excel(name = "表名")
    private String targetTable;

    /** 修改前数据 */
    @Excel(name = "修改前数据")
    private String oldValue;

    /** 修改后数据 */
    @Excel(name = "修改后数据")
    private String newValue;

    /** ip地址 */
    @Excel(name = "ip地址")
    private String ip;



  @Excel(name = "a")
    private String a;
@Excel(name = "b")
    private String b;
@Excel(name = "c")
    private String c;
@Excel(name = "d")
    private String d;
@Excel(name = "e")
    private String e;
@Excel(name = "f")
    private String f;
@Excel(name = "g")
    private String g;
@Excel(name = "h")
    private String h;
@Excel(name = "i")
    private String i;
@Excel(name = "j")
    private String j;
@Excel(name = "k")
    private String k;
@Excel(name = "l")
    private String l;
@Excel(name = "m")
    private String m;
@Excel(name = "n")
    private String n;
@Excel(name = "o")
    private String o;
@Excel(name = "p")
    private String p;
@Excel(name = "q")
    private String q;
@Excel(name = "r")
    private String r;
@Excel(name = "s")
    private String s;
@Excel(name = "t")
    private String t;



    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("userId", getUserId())
            .append("action", getAction())
            .append("targetTable", getTargetTable())
            .append("oldValue", getOldValue())
            .append("newValue", getNewValue())
            .append("ip", getIp())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .append("a", getA())
            .append("b", getB())
            .append("c", getC())
            .append("d", getD())
            .append("e", getE())
            .append("f", getF())
            .append("g", getG())
            .append("h", getH())
            .append("i", getI())
            .append("j", getJ())
            .append("k", getK())
            .append("l", getL())
            .append("m", getM())
            .append("n", getN())
            .append("o", getO())
            .append("p", getP())
            .append("q", getQ())
            .append("r", getR())
            .append("s", getS())
            .append("t", getT())
            .toString();
    }
}
